description = '分类页广告产品部件'
==
{% if count(adproducts) > 0 %}
<div class="indexTjThree" style="">
	<div class="swiper-container indexTjThree_swipe swiper-container-horizontal">
		<div class="swiper-wrapper">

			{% for adproduct in adproducts %}
			<div class="swiper-slide ">
				<a href="{{ adproduct.url }}" style="display: block;margin: 0 5px;">
					<div class="posiR">
						{% for img in adproduct.feature_image %} {% if loop.index == 1%}
						<img src="{{ img.path }}" alt="{{adproduct.name}}"> {% endif %} {% endfor %}
					</div>
					<div class="contBlock">
						<p class="txtGray1 Ellipsis">{{ adproduct.name }}</p>
						<p class="txtGray">
							<b>{{ adproduct.price|formatPrice }}</b>
						</p>
					</div>
				</a>
			</div>
			{% endfor %} 
			
			{% for key, val in catalog.productSection('m-promote-product', products.data[0].id).items %} 
			{% if val.id not in pida %}
			<div class="swiper-slide" style="margin-left:0;">
				<a href="{{ val.url }}" style="display: block;margin: 0 5px;">
					<div class="posiR">
						{% for img in val.feature_image %} {% if loop.index == 1%}
						<img src="{{ val.f_thumb }}" alt="{{val.name}}"> {% endif %} {% endfor %}
					</div>
					<div class="contBlock">
						<p class="txtGray1 Ellipsis">{{ val.name }}</p>
						<p class="txtGray">
							<b>{{ val.price|formatPrice }}</b>
						</p>
					</div>
				</a>
			</div>

			{% endif %} 
			{% endfor %}
		</div>
		<!--  -->
		<div class="swiper-button-prev"></div>
		<div class="swiper-button-next"></div>
	</div>
</div>
{% endif %}